package com.jthinker.blog.bean.vo;

import java.nio.charset.Charset;

/**
 * User: Gang Chen
 * Date: 2015/7/21 19:08
 */
public class Constant
{
    public static final String DEFAULT_ENCODING = "utf8";

    public static final Charset DEFAULT_CHARSET = Charset.forName(DEFAULT_ENCODING);

    //全局字典表
    public static final String DICT_MAP = "dictMap";

    //JSON格式字典表
    public static final String DICT_MAP_JSON = "dictMapJson";

    public static final String REQUEST_BASE_PATH = "basePath";

    public static final String MODULUS = "modulus";

    public static final String EXPONENT = "exponent";

    public static final String URL_ADMIN_PATH_PREFIX = "/admin";

    public static final String URL_LOGIN = "/login";

    public static final String URL_LOGOUT = "/logout";

    public static final int DEFAULT_EXCERPT_LENGTH = 200;

    public static final Long DEFAULT_CATEGORY_ID = 1L;
}
